package sen.myReport;

import java.util.List;

/**
 * 封装excel数据
 * @author sen
 *
 */
public class ExcelSheet {

	private String labelName;
	private String[] head;
	private List<?> data;
	private ExcelStyle[] excelStyle;
	
	public ExcelSheet() {
	}
	
	public ExcelSheet(List<?> data, ExcelStyle[] excelStyle) {
		super();
		this.data = data;
		this.excelStyle = excelStyle;
	}

	public ExcelSheet(String labelName, String[] head, List<?> data) {
		super();
		this.labelName = labelName;
		this.head = head;
		this.data = data;
	}

	public ExcelSheet(String labelName, String[] head, List<?> data,
			ExcelStyle[] excelStyle) {
		super();
		this.labelName = labelName;
		this.head = head;
		this.data = data;
		this.excelStyle = excelStyle;
	}

	public String getLabelName() {
		return labelName;
	}
	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}
	public String[] getHead() {
		return head;
	}
	public void setHead(String[] head) {
		this.head = head;
	}
	public List<?> getData() {
		return data;
	}
	public void setData(List<?> data) {
		this.data = data;
	}

	public ExcelStyle[] getExcelStyle() {
		return excelStyle;
	}

	public void setExcelStyle(ExcelStyle[] excelStyle) {
		this.excelStyle = excelStyle;
	}
}
